At a glance
Eight planets move under a single force, the Sun's gravity. This sim lets you follow them round their orbits and read each planet's distance from the Sun and its speed, so you can see what Kepler's laws describe.
What you'll learn
- How a planet's speed changes as it goes round its orbit.
- Where the Sun sits relative to an orbit, and how the planets' orbit shapes differ.
- How the size of an orbit is linked to a planet's speed and to the length of its year.
- How one force, gravity, accounts for all of these.
What's on screen
- Sun: the bright disc at the centre of the view.
- Planets: coloured dots on their orbit rings. Distances are to scale; the dots are enlarged to stay visible.
- Selected planet panel: the chosen planet's name, a, e, and its current distance r and speed v.
The controls
Press ⌖ on a row to see where that control sits in the sim.
| Control | What it changes | Range | |
|---|---|---|---|
| Zoom | Inner shows Mercury to Mars at true scale. Full shows all eight planets, with orbit sizes compressed so Neptune fits; the shapes are unchanged. | Inner / Full opens on Inner | |
| Highlight planet | Choose one of the eight planets. Its ring brightens and the Selected planet panel switches to it. Click it again to clear. | 8 planets none at the start | |
| Selected planet | Readouts for the chosen planet: a (semi-major axis, AU), e (eccentricity), r (distance now, AU) and v (speed now, km/s). | panel | |
| The orbital view | Drag to tilt and turn the camera. Scroll to zoom. This changes only your viewpoint, not the motion. | drag · scroll | |
| ▶ Play / ⏸ Pause | Starts the planets round their orbits, or freezes them so you can read the panel. | top bar | |
| Time rate | How fast simulated time runs. At 1×, one second on screen is 0.02 years (about 7 days). The orbits themselves do not change. | 0.25×–8× opens at 0.25× | |
| ↻ Reset | Puts every planet back at the start of its orbit and clears the selection. | top bar |
Fixed: each planet moves only under the Sun's gravity. The Sun stays still, the planets do not pull on each other, and every planet starts at its closest point to the Sun. While the Guided Inquiry runs, some readouts unlock step by step.
The Sun sits at a focus
The Sun's pull on a planet points at the Sun and weakens as 1/r². In AU and years, GM = 4π².
This force alone makes the path an ellipse with the Sun at one focus (Kepler's first law). Here a is the semi-major axis, and e is the eccentricity, with e = 0 a circle. θ is measured from the closest point.
- The Sun sits a·e from the centre of the ellipse. For Mercury that is 0.08 AU, about a quarter of its closest distance to the Sun (0.31 AU).
- The ring itself is only slightly squashed: its short axis is √(1 − e²) = 0.979 of the long one. The off-centre Sun is the clearer sign.
- The sim's camera looks at the orbits at an angle, which squashes every ring on screen. That is perspective, not eccentricity.
Planets run fastest near the Sun
Gravity pulls straight toward the Sun, so it exerts no torque about the Sun. The planet's angular momentum L stays constant, and the line from the Sun to the planet sweeps out equal areas in equal times (Kepler's second law).
- At the closest and farthest points the velocity is perpendicular to r, so r·v is the same at both: vperi / vapo = rapo / rperi = (1 + e) / (1 − e).
- Mercury: 58.98 km/s at 0.31 AU and 38.86 km/s at 0.47 AU, a ratio of 1.52. Earth (e = 0.017): 30.29 and 29.29 km/s.
- Energy tells the same story: falling toward the Sun turns potential energy into kinetic energy.
Speed follows from r and a
Energy conservation gives the speed at any point of an orbit from just r and a:
- Mass and direction of travel do not appear. Only where the planet is (r) and which orbit it is on (a).
- At r = a the speed is √(GM/a), the speed of a circular orbit of that radius. Closer in, the planet is faster; farther out, slower.
This slider selects the planet in the sim too.
Bigger orbits mean slower planets
Across the family, a sets both the period T and the speed (Kepler's third law, in years, AU and km/s):
- Earth: a = 1 AU, T = 1 yr, v ≈ 29.8 km/s. Neptune: a = 30.06 AU, so T = 30.063/2 = 164.8 yr and v ≈ 5.4 km/s.
- A planet 30 times farther out is √30 ≈ 5.5 times slower, not 30 times. The Sun's pull is weaker there, so less speed holds the orbit.
- Both relations follow from gravity: on a near-circular orbit v²/r = GM/r², so v = √(GM/r) and T = 2πr/v.
The panel shows v at the moment, so it matches 29.8/√a only where r ≈ a.
Where it matters
- Satellites. Any orbit obeys the same laws. A circular, equatorial orbit of radius 42,164 km around Earth has a period of 23.93 h, one turn of the Earth, so the satellite stays over one spot (geostationary orbit).
- Weighing the Sun. T² = 4π²a³/GM turns a measured a and T into a mass. Earth's orbit gives M☉ ≈ 1.99 × 10³⁰ kg, and a moon's orbit gives its planet's mass the same way.
- Comets. Halley's comet (e ≈ 0.97, a ≈ 17.8 AU) passes within about 0.59 AU of the Sun and recedes to about 35 AU. By r·v conservation it is about 60 times faster at perihelion than at aphelion.
Go deeper: where the speed formula and GM = 4π² come from
- Energy per unit mass is ½v² − GM/r = −GM/(2a). Solving for v² gives v² = GM(2/r − 1/a). The energy is negative for every bound orbit.
- Written with GM, Kepler's third law is T² = 4π²a³/GM. Choosing GM = 4π² AU³/yr² makes it T² = a³.
Summary
Key points
- The Sun is at a focus: closest distance a(1 − e), farthest a(1 + e).
- r·v is the same at both ends, so speed rises as distance falls. The full law is v² = GM(2/r − 1/a).
- T² = a³, and v ≈ 29.8/√a km/s on a near-circular orbit.
Common mix-ups
- "The Sun is at the centre of each orbit." It sits at a focus, a·e from the centre.
- "A planet moves at a constant speed." The speed changes. What stays constant is the area swept per unit time.
- "A planet 30 times farther out is 30 times slower." The speed scales as 1/√a, so it is about 5.5 times slower.
Things to try on your own
- Select Mercury at 2×. Note r and v at their smallest and largest, and check that r × v matches.
- In the Full view, read a and v for Venus, Earth and Neptune. Check that v × √a is about 30 for each.
- Set Time rate to 8× and time one Earth lap. Expect 1 yr ÷ (0.02 yr/s × 8) = 6.25 s.